﻿using System.ComponentModel.DataAnnotations;

namespace HY.Entity
{
    public class Park : EntityBaseModel
    {
        /// <summary>
        /// 园区名称或编码
        /// </summary>
        [Required]
        [StringLength(20)]
        public string Code { get; set; }
        /// <summary>
        /// 所属部门
        /// </summary>
        [Required]
        public int DeptID { get; set; }
        /// <summary>
        /// 省组织编码
        /// </summary>
        public int? Province { get; set; }
        /// <summary>
        /// 省份名称
        /// </summary>
        [StringLength(20)]
        public string ProvinceName { get; set; }
        /// <summary>
        /// 市组织编码
        /// </summary>
        public int? City { get; set; }
        /// <summary>
        /// 市名称
        /// </summary>
        [StringLength(20)]
        public string CityName { get; set; }
        /// <summary>
        /// 县组织编码
        /// </summary>
        public int? County { get; set; }
        /// <summary>
        /// 区县名称
        /// </summary>
        [StringLength(20)]
        public string CountyName { get; set; }
        /// <summary>
        /// 园区面积
        /// </summary>
        public decimal? Area { get; set; }
        /// <summary>
        /// 园区地址
        /// </summary>
        [StringLength(100)]
        public string Address { get; set; }
        /// <summary>
        /// 经度
        /// </summary>
        [DecimalPrecision(10, 5)]
        public decimal? Longitude { get; set; }
        /// <summary>
        /// 纬度
        /// </summary>
        [DecimalPrecision(10, 5)]
        public decimal? Latitude { get; set; }
        /// <summary>
        /// 3D模型url
        /// </summary>
        [StringLength(220)]
        public string Url3D { get; set; }

        [StringLength(200)]
        public string ZZXX { get; set; }

        [StringLength(200)]
        public string TDXX { get; set; }

        [StringLength(200)]
        public string SCXX { get; set; }

        [StringLength(200)]
        public string YQAB { get; set; }

        [StringLength(200)]
        public string PTSS { get; set; }

        [StringLength(200)]
        public string SHPL { get; set; }
    }
}
